package com.cncytech.uiautomator_demo;

import java.util.Objects;

public class ResultBean {
    private String title;
    private String reslut= "pass";
    private String msg;
    private String trace;
    private String display;

    public String getTrace() {
        return trace;
    }

    public void setTrace(String trace) {
        this.trace = trace;
    }

    public String getDisplay() {
        return display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }

    public ResultBean(String title) {
        this.title = title;

    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getReslut() {
        return reslut;
    }

    public void setReslut(String reslut) {
        this.reslut = reslut;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ResultBean that = (ResultBean) o;
        return title.equals(that.title) && reslut.equals(that.reslut) && msg.equals(that.msg);
    }

    @Override
    public int hashCode() {
        return Objects.hash(title, reslut, msg);
    }

    @Override
    public String toString() {
        return "ResultBean{" +
                "title='" + title + '\'' +
                ", reslut='" + reslut + '\'' +
                ", msg='" + msg + '\'' +
                ", trace='" + trace + '\'' +
                ", display='" + display + '\'' +
                '}';
    }
}
